<div class="CommonHeader">
    <div class="CommonBackBtn"><a href="javascript:history.go(-1)"><img src="__CDN__/map/images/return_black.png"
                alt="返回" /></a></div>
    <div class="CommonTitle">设置</div>
</div>

<div class="CommonMain">
    <div class="SettingBox">
        <div class="SettingDiv">
            <a href="{:url('user/pro')}" class="am-cf">
                <p class="am-fl">个人资料</p>
                <p class="am-fr">
                    <span class="on">{$ad_user}</span>
                    <img src="__CDN__/map/images/arrow_right.png" />
                </p>
            </a>
        </div>
        <div class="SettingDiv">
            <a href="{:url('user/adress')}" class="am-cf">
                <p class="am-fl">收货地址</p>
                <p class="am-fr">
                    <span class="on">{$det}</span>
                    <img src="__CDN__/map/images/arrow_right.png" />
                </p>
            </a>
        </div>
    </div>
    <div class="SettingBox Mt20">
        <div class="SettingDiv">
            <a href="{:url('user/aboutus')}" class="am-cf">
                <p class="am-fl">关于我们</p>
                <p class="am-fr">
                    <span class="on"></span>
                    <img src="__CDN__/map/images/arrow_right.png" />
                </p>
            </a>
        </div>
        <div class="SettingDiv">
            <a href="{:url('user/complaint')}" class="am-cf">
                <p class="am-fl">投诉建议</p>
                <p class="am-fr">
                    <!--<span>请完善</span>-->
                    <img src="__CDN__/map/images/arrow_right.png" />
                </p>
            </a>
        </div>
        <div class="SettingDiv">
            <a href="#" class="am-cf">
                <p class="am-fl">当前版本</p>
                <p class="am-fr">
                    <span>版本v1.0</span>
                </p>
            </a>
        </div>
    </div>
    <div class="SettingBox Mt20">
        <div class="SettingDiv" onclick="moneyonclick()">
            <a href="#" class="am-cf">
                <p class="am-fl">退出登录</p>
                <p class="am-fr">
                    <!--<span class="on">请选择</span>-->
                    <img src="__CDN__/map/images/arrow_right.png" />
                </p>
            </a>
        </div>

    </div>
</div>
<script>
    function moneyonclick() {
        if (confirm('确定要退出吗') == true) {
            window.location.href='./logout'
        } else {

            return false;

        }
    }
</script>